using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;
namespace Thaire.Investment.Repository.Mapping
{
       
    class   FixincomesecuritiesAmortizeHeaderMap : ClassMap<FixincomesecuritiesAmortizeHeader>
    {

        public FixincomesecuritiesAmortizeHeaderMap()
            {
                Table("FIXINCOMESECURITIES_AMORTIZE_HEADER");
                Id(x => x.FixincomesecuritiesAmortizeHeaderID, "FIXINCOMESECURITIES_AMORTIZE_HEADER_ID").GeneratedBy.Identity();


                Map(x => x.FixincomesecuritiesPurchaseID, "FIXINCOMESECURITIES_PURCHASE_ID");
                Map(x => x.FixincomesecuritiesHeaderID,"FIXINCOMESECURITIES_HEADER_ID");
 Map(x => x.Symbol,"SYMBOL");
 Map(x => x.TradeDate,"TRADE_DATE");
 Map(x => x.MaturityDate,"MATURITY_DATE");
 Map(x => x.BookValue,"BOOK_VALUE");
 Map(x => x.ParValue,"PAR_VALUE");
 Map(x => x.Yield,"YIELD");
 Map(x => x.IrrPerDay,"IRR_PER_DAY");
 Map(x => x.Coupon,"COUPON");
 Map(x => x.DiscountPremium,"DISCOUNT_PREMIUM");
 Map(x => x.AI,"AI");
 Map(x => x.GrossPrice,"GROSS_PRICE");

            }


    }

}